/**
 * 
 */
package fr.sinno.wms.batch.model;

/**
 * @author HP
 *
 */
public enum Pays {

	FRANCE(1,"FRANCE"),
	COREE(10,"COREE") ,
	CHINE(11,"CHINE"),
	HONK_KONG(12,"HONK KONG"),
	COREE2(13,"COREE") ,
	REPUBLIQUE_TCHEQUE(1,"REPUBLIQUE TCHEQUE"),
	ROYAUME_UNI(15,"ROYAUME UNI"),
	INDIA(16,"INDIA"),
	HONGRIE(17,"HONGRIE"),
	LUXEMBOURG(18,"LUXEMBOURG"),
	ANDORRE(19,"ANDORRE"),
	ITALIE(2,"ITALIE"),
	ESPAGNE(3,"ESPAGNE"),
	ALLEMAGNE(4,"ALLEMAGNE"),
	HOLLANDE(5,"HOLLANDE"),
	AUTRICHE(6,"AUTRICHE"),
	TAIWAN(7,"TAIWAN"),
	SUISSE(8,"SUISSE"),
	BELGIQUE(9,"BELGIQUE");
	
	private int id;
	private String value;
	
	private Pays(int id, String value){
		this.id = id;
		this.value = value;
	}

	public static Pays getPays(int id) {
		for (Pays pays : values() ) {
			if (pays.getId() == id) {
				return pays;
			}
		}
		return Pays.FRANCE;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}
	
	
}
